﻿using Abp.Domain.Entities.Auditing;
using Abp.Organizations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Xugege.AbpExtension.Core.Extension.Authorization
{
    /// <summary>
    /// 岗位
    /// </summary>
    public class AbpPosition : FullAuditedEntity<long>
    {
        public long TenantId { get; set; }
        /// <summary>
        /// 岗位名称
        /// </summary>
        public string PositionName { get; set; }
        /// <summary>
        /// 组织
        /// </summary>
        public long OrganizationUnitId { get; set; }

        [ForeignKey("OrganizationUnitId")]
        public OrganizationUnit OrganizationUnit { get; set; }

    }
}
